{{newin|[[0.8.0]]|080|type=method}}
Returns if the world is updating its state.

This will return true inside the callbacks from [[World:setCallbacks]].

== Function ==
=== Synopsis ===
<source lang="lua">
locked = World:isLocked( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|boolean|locked|Will be true if the world is in the process of updating its state.}}
== See Also ==
* [[parent::World]]
[[Category:Functions]]
{{#set:Description=Returns if the world is updating its state.}}
{{#set:Since=080}}
== Other Languages ==
{{i18n|World:isLocked}}