Garry's Mod Wiki

NPC:GetHeadDirection

  Vector NPC:GetHeadDirection()

Recently Added

This was recently added in version (2025.03.07). It might only be available on the Dev Branch right now.

Description

Returns the 2D head direction of the NPC.

Returns

1 Vector
The head direction.