Container.allowCollect

Returns whether the container can collect items.

Kind: Member

Environments: Game

Game

Open the full Game reference

Get

Availability: Server only

Returns whether the container can collect items.

Returns:

Type Description
boolean Returns true if the container can collect.

Set

Availability: Server only

Sets whether the container can collect items.

Parameters:

Name Type Description
allow boolean True if the container can collect.