Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

findWalletHolder

findWalletHolder(world, entity): Entity

Whose wallet coins entity earns go into: the player’s, where it is the character characters() spawned for the player, or where it is no character and a player stands behind it, such as the kart the player drives. Coins outlive any character. It is the entity itself otherwise, such as a rider on a track or a character no player plays, and where the player’s save keeps the wallet on each saved entity.

Parameter Type
world World
entity Entity

Entity