Skip to content

Toggle switch

Toggle switch that users can click or touch.

Authors and contributors to this community extension: D8H, VictrisGames.


Toggle switch that users can click or touch. The switch can be customized with sprites.

There are ready-to-use toggle switches in the asset-store settings UI pack.

Read more...

Tip

Learn how to install new extensions by following a step-by-step guide.

Toggle switch

A toggle switch that users can click or touch.

Object actions

De/activate interactions
De/activate interactions with the button.

Check (or uncheck)
Check (or uncheck) the toggle switch.

Object conditions

Has just been checked
Check if the toggle switch was checked in the current frame.

Has just been unchecked
Check if the toggle switch was unchecked in the current frame.

Interactions activated
Check if interactions are activated on the button.

Is checked
Check if the toggle switch is checked.

Is hovered
Check if the cursor is hovered over the button.

No expressions for this object.


This page is an auto-generated reference page about the Toggle switch 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.