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, the controller as the room
last streamed it, null where the room hides it from this page, and her
own player for each entity her acknowledgement says she controls. As
Roblox’s GetPlayerFromCharacter.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
_world |
World |
entity |
Entity |
Returns
Section titled “Returns”Entity | null