i am trying to make a 2d game and i want to lock the x axis of a part so it can only move up/down and right/left. apparently you can do that with alignposition, but i have no idea how to disable the y and z axis.
any help appreciated
1 Like
Just make 0 to 1 and it will disable
then itll just move the part to 1,1,1
1 Like
Thats not how it works making it 1,0,0 will disable the x axis
Oh i guess it was something else then but in this case ig you can loop to check whenever part changes its position and make the axis to the last position with alignposition.
If this doesnt work sorry i couldnt help!
have a good day.
1 Like