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) -> unitMember of Ui
Related types
- Source
- docs/generated/decay-api.json
- Schema
- v1
- Engine version
- 0.1.0
- Source commit
909aca81368b