Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

is it possible to define a X position?

Asked by 5 years ago
Edited 5 years ago

How would I define an X position from your mouse and define it like in a part CFrame? And no I do not expect a script I just want to know if it is possible

0
This is not a request site. DeceptiveCaster 3761 — 5y
0
I was asking if it was possible I wasnt requesting a script voidofdeathfire 148 — 5y

1 answer

Log in to vote
1
Answered by 5 years ago

You could do like

mouse.Hit.p.X

or with a part you could do

part.Position.X

Note: - You can not set this value, you can only set another value based off of this value. So, for instance, you can't do part.Position.X = 5, but you could do part.Position = Vector3.new(part.Position.X + 5,0,0).

Ad

Answer this question