Container.getAllowCollect

Returns whether the container can collect items.

Kind: Function

Environments: Game

Game

container:getAllowCollect(  )

Open the full Game reference

Availability: Server only

Parameters:

Name Type Description
container Container The container.

Returns:

Type Description
boolean Returns true if the container can collect.