Skip to content

Toggle switch (for Shape Painter)

Toggle switch that users can click or touch.

Authors and contributors to this community extension: VictrisGames.


Add this behavior to a shape painter object.

When the toggle switch is in the left position, the condition Checked is "false". If it is in the right position, the condition Checked is true. A halo appears when the mouse hovers near the toggle switch.

Toggle switch cannot be toggled by users if any of these are true:

  • Toggle switch is hidden
  • Toggle switch's layer is hidden
  • Toggle switch is disabled

Toggle switch can always be changed by an action.


Tip

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

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