DecayKnowledgebase
functiongenerated

Ui.position

Where an element was laid out on the screen, as a Vec2 in overlay units: 0 is the middle, and one unit is half the screen's height, up positive.

Signature

Ui.position(element: Entity) -> Vec2

Member of Ui

Related types

Entity

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