Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Locked

Introduction

The Locked property controls whether an instance can be clicked in the Editor tab, and whether any variables can be modified on the locked item.

Locked items appear with a lock icon.

Locked instance with a lock icon

If this value is true, then the following is true:

  • Instance cannot be selected in the Editor tab

  • Instance variables are all disabled and cannot be edited in the Variables tab (except un-locking the instance)

  • Selected instances cannot be moved, resized, or rotated in the Editor tab

  • Polygons cannot have points modified, added, or deleted in the Editor tab

  • The Alignment tab buttons leave the instance where it is. If other instances are selected too, the buttons change only the unlocked ones, and the Output tab lists the locked instances they skipped.

The Alignment tab respects Locked starting in October 2026, or now if building Gum from source. Earlier versions let its buttons move and resize a locked instance.

Locked instances cannot be selected by clicking on them in the editor window

The Locked property does not have any impact on the behavior of Gum objects at runtime, such as when running in FlatRedBall or MonoGame. This property only affects editor behavior.

Last updated

Was this helpful?