Garry's Mod Wiki

Player:IsWorldClickingDisabled

  boolean Player:IsWorldClickingDisabled()

Just Added

This was just added in the latest version (2023.01.25). It might only be available on the Dev Branch right now.

Description

Returns whether the world clicking is disabled for given player or not. See Player:DisableWorldClicking.

This value is meant to be networked to the client, but is not currently.

Returns

1 boolean
Whether the world clicking is disabled or not.