Garry's Mod Wiki

Garry's Mod Wiki

  boolean Entity:BeingLookedAtByLocalPlayer()

Description

Returns true if the entity is being looked at by the local player and is within 256 units of distance.

This function is only available in entities that are based off of sandbox's base_gmodentity.

Returns

1 boolean
Is the entity being looked at by the local player and within 256 units.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...