Logical parenthesis: If (Condition1 And Condition2) Or (Condition3 And Condition4). Is it possible?
NixsterMixsterStudio
Member, PRO Posts: 6
Suppose I have the following rule:
'When All of the following is happening" - mouse position over actor AND mouse is down -> do something.
I want to implement the same rule for touch devices. I can add the new rule:
''When All of the following is happening" - touch is inside AND touch is released -> do something.
But that means I need rerdrag/recode the whole rule. Instead I want to do something like in usual programming language:
If (mouse_over_actor AND mouse_is_down) OR (touch_is_inside AND touch_is_released) Then -> do something.
Is such approach possible at all?
Best Answer
-
RThurman Posts: 2,880
The mouse events work as touch events on mobile devices. (You don't need separate rules.)