Flash object
Make an object flash visibility (blink), color tint, object effect, or opacity (fade).
Authors and contributors to this community extension: 4ian, Entropy, VictrisGames.
Make an object flash for a period of time so that it alternates between two different states. Includes the ability to flash visibility (blink), color tint, object effect, or opacity (fade).
After adding a behavior to an object, you trigger the effect by using the Flash action.
This can be used to:
- Let players know they are invincible after being hit
- Catch player attention on the interface (for instance a "press start" text)
Tip
Learn how to install new extensions by following a step-by-step guide.
Actions
Toggle an object effect
Toggle an object effect.
Toggle object visibility
Toggle object visibility.
Conditions
Color tint applied to an object
Compare Color tint applied to an object.
Expressions
Expression | Description | |
---|---|---|
Flash::ColorTint(object) |
Return Color tint applied to an object. | |
object | Object | |
Flash::IsTinted(object) |
Check if a color tint is applied to an object. | |
object | Object |
Flash visibility (blink)
Make the object flash (blink) for a period of time so it alternates between visible and invisible.
Behavior actions
Flash visibility (blink)
Make an object flash (blink) visibility for a period of time.
Stop flashing visibility (blink)
Stop flashing visibility (blink) of an object.
Behavior conditions
Is object flashing visibility
Check if an object is flashing visibility.
No expressions for this behavior.
Flash color tint
Make an object flash a color tint for a period of time.
Behavior actions
Flash color tint
Make an object flash a color tint for a period of time.
Stop flashing color tint
Stop flashing a color tint on an object.
Behavior conditions
Is object flashing a color tint
Check if an object is flashing a color tint.
No expressions for this behavior.
Flash effect
Make the object flash an effect for a period of time.
Behavior actions
Flash effect
Make an object flash an effect for a period of time.
Stop flashing an effect
Stop flashing an effect of an object.
Behavior conditions
Is object flashing an effect
Check if an object is flashing an effect.
No expressions for this behavior.
Flash opacity smothly (fade)
Flash opacity smoothly (fade) in a repeating loop.
Behavior actions
Flash opacity (fade)
Make an object flash opacity smoothly (fade) in a repeating loop.
Stop flashing opacity
Stop flashing opacity of an object.
Behavior conditions
Is object flashing opacity
Check if an object is flashing opacity.
No expressions for this behavior.
This page is an auto-generated reference page about the Flash object extension, made by the community of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop community-made extensions here.