Plugin : Angle to ArrowKey

Author:Rex.Rainbow

Download

Properties

Directions

  • The number of directions of movement available.
    • Options : ["Up & down","Left & right","4 directions","8 directions"]

Sensitivity

  • Sensitivity of touch movment, in pixel.

Actions

Key-down

Action:Set input

  • Set pressing angle and distance, which is from origin to current.
    • Angle ( number ) : Angle, from origin to current, in degree.
    • Distance ( number ) : Distance, from origin to current.

Key-up

Action:Release

  • Release all key-down.

Expressions

Arrowkey

Expression:ArrowkeyAngle

  • Get the angle mapped from arrowkey, in degrees.
    • Angle ( number ) : Input angle, option.

Conditions

Is down

Condition:Up key is down

  • Return true if Up key is currently held down.

Condition:Down key is down

  • Return true if Down key is currently held down.

Condition:Left key is down

  • Return true if Left key is currently held down.

Condition:Right key is down

  • Return true if Right key is currently held down.

Condition:Any arrow is down

  • Return true if Any arrow is currently held down.

Pressd

Condition:On Up key pressed

  • Triggered when Up key is pressed.

Condition:On Down key pressed

  • Triggered when Down key is pressed.

Condition:On Left key pressed

  • Triggered when Left key is pressed.

Condition:On Right key pressed

  • Triggered when Right key is pressed.

Condition:On any key pressed

  • Triggered when any key is pressed.

Released

Condition:On Up key released

  • Triggered when Up key is released.

Condition:On Down key released

  • Triggered when Down key is released.

Condition:On Left key released

  • Triggered when Left arrow is released.

Condition:On Right key released

  • Triggered when Right key is released.