Construct 2 is being retired on 1 Jul, 2021. We strongly recommend upgrading to Construct 3.
The Flash behavior makes an object blink by toggling its visibility on and off for a period of time. It has no properties, conditions or expressions: just the two actions listed below.
Simply adding the Flash behavior to an object does not do anything. You must use the Flash action to make the object flash.
- Is flashing
- True if the object is currently within a flash duration.
- On flash ended
- Triggered when the end of the flash duration is reached, and the object has returned to visible.
- Make the object flash by toggling its visibility on and off. The 'On' time is the duration in seconds the object remains visible. The 'Off' time is the duration in seconds the object remains invisible. The object will alternate between these two states for the given duration in seconds. The object is always set back to visible after the flash duration finishes.
- Stop flashing
- If the object is currently flashing, this stops the flashing and sets the object back to visible. If the object is not currently flashing this action has no effect.
Construct 2 Manual
You are here:
Search this manual:
This manual entry was last updated on 9 Jun, 2020 at 12:54