toggle menu
Categories
Discussions
Dashboard
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Dashboard
Sign In
·
Register
×
Home
›
GameSalad 101
›
Working with GS (Mac)
help with mouse clicking
ghostrp
Member
Posts:
17
July 2010
edited November -1
in
Working with GS (Mac)
How do i make it so that if the mouse clicks on an object it will cause an action, but only if he clicks the object
Comments
Ruslan21
Member
Posts:
228
July 2010
In you actor create Rule
Rule
When Any conditions are valid:
actor receives event ' mouse button; is down
actor receives event ' mouse position' is inside
Do what ever
firemaplegames
Member
Posts:
3,211
July 2010
Or you can use When Touch is pressed...
It does the same thing with one less condition.
Touches will act like a Mouse on the computer, and vice-versa
Flurp
Member
Posts:
1
July 2010
Does anyone know why it would take 3 clicks for my game to recognize it is being clicked?
Sign In
or
Register
to comment.
Comments
Rule
When Any conditions are valid:
actor receives event ' mouse button; is down
actor receives event ' mouse position' is inside
Do what ever
It does the same thing with one less condition.
Touches will act like a Mouse on the computer, and vice-versa