DecayKnowledgebase
functiongenerated

Ui.set_fill

Shows part of an image, from 0 (none) to 1 (all). This is how health and progress bars work: Ui.set_fill(bar, hp / max_hp).

Signature

Ui.set_fill(bar: Entity, amount: number) -> unit

Member of Ui

Related types

Entity

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