ScriptEvent:getViewingEntity

From Mod Wiki

Parameters

None.

Result

entity

Supported By

idPlayer

Functionality

Returns any active remove viewing device, or if none, returns the player.