Garry's Mod Wiki

Revision Difference

Player:GetObserverTarget#512741

<function name="GetObserverTarget" parent="Player" type="classfunc">⤶ <description>⤶ Returns the entity the player is currently observing.⤶ ⤶ Set using <page>Player:SpectateEntity</page>.⤶ </description>⤶ <realm>Shared</realm>⤶ <rets>⤶ <ret name="" type="Entity">The entity the player is currently spectating, or [NULL](/gmod/Global_Variables) if the player has no target.</ret>⤶ </rets>⤶ </function>⤶ ⤶