GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Logical parenthesis: If (Condition1 And Condition2) Or (Condition3 And Condition4). Is it possible?

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

Sign In or Register to comment.