100% NEW, drag on a single axis?
![craziwolf](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
I am new to GameSalad I just started learning it this week.
I think I have been doing ok so far however I have not been able to find anywhere if it is possible to restrict drag to a single axis relative to my actor? specifically the X axis in this case.
Any help wold be greatly appreciated!
I think I have been doing ok so far however I have not been able to find anywhere if it is possible to restrict drag to a single axis relative to my actor? specifically the X axis in this case.
Any help wold be greatly appreciated!
Best Answer
-
jamie_c ImagineLabs.rocks Posts: 5,772
If you mean while you are building/editing a scene you can hold down your shift key while you drag an actor to restrict it's movement to horizontal or vertical.
If you mean in 'code' you can use the move behavior (or others) to move an actor only on the X axis as well.
Jamie
Answers