isControllerHeld
isControllerHeld(
world,entity):boolean
Whether the player who controls entity dropped and the room holds the
player’s seat: the player’s character stands on neutral input, so a
game leaves it out of a vote, a chase or a cast the player cannot
answer. False for an entity no player controls. Reads ConnectionTrait
on its controller.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
entity |
Entity |
Returns
Section titled “Returns”boolean