Skip to content

Commit

Permalink
GITBOOK-294: change request with no subject merged in GitBook
Browse files Browse the repository at this point in the history
  • Loading branch information
vchelaru authored and gitbook-bot committed Dec 5, 2024
1 parent 5a11f55 commit e42b647
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
Binary file added docs/.gitbook/assets/05_09 56 30.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/.gitbook/assets/05_09 57 33.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
* [Base Type (Inheritance)](gum-elements/general-properties/base-type-inheritance.md)
* [Clips Children](gum-elements/general-properties/clips-children.md)
* [Height Units](gum-elements/general-properties/height-units.md)
* [Locked](gum-elements/general-properties/locked.md)
* [Parent](gum-elements/general-properties/parent.md)
* [Relative Layout Unit Type](gum-elements/general-properties/relative-layout-unit-type.md)
* [Rotation](gum-elements/general-properties/rotation.md)
Expand Down
15 changes: 15 additions & 0 deletions docs/gum-elements/general-properties/locked.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Locked

### Introduction

The Locked property controls whether an instance can be clicked in the preview window. If this value is true, then the instance cannot be clicked on directly, but must instead be selected through the Project tab.

<figure><img src="../../.gitbook/assets/05_09 56 30.gif" alt=""><figcaption><p>Locked istances cannot be selected by clicking on them in the editor window</p></figcaption></figure>

Once a locked object is selected it can still be edited normally, both in the Variables tab and in the Editor tab. Locking an instance prevents accidental selection in the Editor tab.

<figure><img src="../../.gitbook/assets/05_09 57 33.gif" alt=""><figcaption></figcaption></figure>

{% hint style="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.
{% endhint %}

0 comments on commit e42b647

Please sign in to comment.