Skip to content
Docs
Open Promoeyes

avatar

UI item · inside ui / ui3duisset 186× in templates and rigs

A round photo on a UI stage: an image cropped to a circle `size` across, with an optional outline ring; a `video` inside it is cropped to the same disc.

avatar(size=1 src=1 ring=#ffffff)

Attributes

sizenumberDiameter in stage units; without it the larger of `w` and `h`, else 64.186×
srcnumbertextThe photo: a stock headshot number (`7` is headshot 007), or an asset name or path.185×
ringcolour #rrggbbColour of an outline around the disc; no ring unless set.148×
ring_widthnumberWidth of the ring, in stage units (default 2).148×
xnumber69×
ynumber69×
anchortexte.g. top-lefttop-right5×
hnumber1×
inset"x y"1×
wnumber1×

Where it goes