This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
set_player_interaction_locked [2017/04/14 14:41] – external edit 127.0.0.1 | set_player_interaction_locked [2021/04/21 18:34] (current) – justin | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- | ---- | ||
- | Locks or unlocks the player' | + | Locks or unlocks the player' |
+ | ====Signature: | ||
<code python> | <code python> | ||
- | set_player_interaction_locked(true) | + | set_player_interaction_locked(is_locked) |
</ | </ | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
- | |true|Description.|[[String]]|Yes| | + | |is_locked|State of player interaction.|[[Boolean]]|Yes| |
====Example: | ====Example: | ||
- | < | + | < |
- | set_player_interaction_locked(true) | + | set_player_interaction_locked(true); |
</ | </ | ||
- | // | + | // |
<WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
- | Use the **Lock/ | + | Use the **Lock/ |
</ | </ | ||
Line 30: | Line 31: | ||
<WRAP half column> | <WRAP half column> | ||
- | ====Visual Demo:==== | ||
- | {{: | ||
</ | </ | ||
</ | </ |