findController
findController(
_world,entity):Entity|null
The controller entity reads its input from on the tick being stepped,
or null where none controls it. On a page it is the controller as the
room last streamed it, null where the room hides it from this page, and
the local player for each entity this page’s acknowledgement says the
local player controls. As Roblox’s GetPlayerFromCharacter.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
_world |
World |
entity |
Entity |
Returns
Section titled “Returns”Entity | null