How would i lock parts orientation and position?

i am trying to make a 2d game where you can only move up/down and right/left so i want to prevent the character from moving in the z axis and also lock its orientation. Currently i am using AlignOrientation and BodyPosition but its still kinda glitchy (video). anything else i could try?

1 Like

When you launch Roblox Studio you will see “All Templates”.

Look for the one called “Line Runner”. Open it. It is a scrolling game that will give you the scripts you need.

1 Like