Garry's Mod Wiki

Player:IsWorldClicking

  boolean Player:IsWorldClicking()

Description

Returns if the player is in the context menu.

Although this is shared, it will only work properly on the CLIENT for the local player. Using this serverside or on other players will return false.

Returns

1 boolean
Is the player world clicking or not.