DecayKnowledgebase
functiongenerated

World.set_active

Switches an object, and everything inside it, on or off. This is how menus and screens are shown and hidden.

Signature

World.set_active(entity: Entity, on: bool) -> unit

Member of World

Related types

Entity

Source
docs/generated/decay-api.json
Schema
v1
Engine version
0.1.0
Source commit
909aca81368b