githubEdit

Locked

circle-exclamation

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

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

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?