Number identifying the player whose inputs to consider.
Returns
Name
Type
Description
can_receive
boolean
True if this element can receive inputs, false otherwise.
Examples
localmenu=crystal.Overlay:new();print(menu:can_receive_input(1));-- Prints "true"menu:set_player_index(2);print(menu:can_receive_input(1));-- Prints "false"