How can I drag and drop an actor only across the X axis?
This is my first question/post on the forums so sorry if it is in the wrong place or something.
Best Answer
-
gyroscope I am here.Posts: 6,598
@kfeaval
Hi and welcome to the Forums! No worries about the category, it's fine. :-)
Put this into your draggable actor's rules:
When Touch is pressed
Constrain Attribute self.Position.X to game.Touches.Touch 1.X""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
Answers