======Lock/Unlock Player Interaction====== ---- Locks or unlocks the player's ability to interact with [[object|objects]] or speak to [[character|characters]] in the scene. ====Signature:==== set_player_interaction_locked(is_locked) ^Argument^Description^Type^Required^ |is_locked|State of player interaction.|[[Boolean]]|Yes| ====Example:==== set_player_interaction_locked(true); //Results:// The player is no longer able to interact with any [[object|objects]] or [[character|characters]] until their interaction is re-enabled. Use the **Lock/Unlock Player Interaction** function to prevent the player from interacting with [[object|objects]] during a cutscene. This will typically be used in conjunction with [[set_player_movement_locked|Lock/Unlock Player Movement]]. ---- ====Editor Node:==== {{:wiki:set_player_interaction_locked_node.png?nolink|}} ~~NOTOC~~