# IScriptEntity.lockRotation [← IScriptEntity](index.md) · [← Master](../../wiki.md) lockRotation(float yaw, float pitch, float yawHead) void Lock the entity's rotation.