Categories > Input > rex_button

Introduction

Get touch end event.

Links


Categories > Input > rex_buttonIntroductionLinksDependenceUsageFinite-state machineRolling overManual triggerAnimation of each state

Dependence

Usage

YesNoOn touch start &&EnabledReleasedOn touch endNOT is in touchAction:Cancel click detectingAction:ActivatePressedAction:ActivateYesAction:ActivateAction:DeactivateAction:DeactivateAction:DeactivateOFFProperty:ActivatedACTIVE----Condition:On activatedINACTIVE----Condition:On inactivatedProperty:Click modeCLICK DETECTING----Condition:On click detecting startCLICKED----Condition:On clickedProperty:Activated after Clicked

Sample capx

Finite-state machine

Rolling over

Manual trigger


Animation of each state