Click mouse button toggle, not drag and drop
hrsmedia
Member Posts: 522
How do you click actor to follow mouse, then click again to stop following mouse? I can only make it drag and drop. Thanks
Comments
touch pressed
self.position.x to game.mouse.position.x
self.position.x to game.mouse.position.y
Rule--- when touch is pressed change Self.SelectPhase to Self.SelectPhase+1
Rule-----When self.Select.Phase >= 3 change to 1
Rule------When Self.SelectPhase = 2 constrain self position to mouse position
This should work.... I hope!
Good Luck