Mouse down (for a rule)
lukey5227
Member Posts: 111
In a rule, you can set "Actor receives event,mouse button IS down
Inside the rule, does that only apply when they bring their mouse down or WHILE the mouse is down? Because I'm trying something and something is only happening when I click. If I drag, nothing happens.
Inside the rule, does that only apply when they bring their mouse down or WHILE the mouse is down? Because I'm trying something and something is only happening when I click. If I drag, nothing happens.
Comments
I'm hoping this can work for both computers and iphones. So, TOUCH and CLICK.
http://www.youtube.com/user/GameSaladCookbook#p/u/40/JnlxvMlPG-k
Do you see those letters next to the behaviors? There are different types... such as Persistent and Action. If you're using an Action behavior, it only runs once, not constantly.
There's a more detailed explanation about this in The Unofficial GameSalad Textbook.