Experimental

An early preview: docs, the API and the dashboard may change or break.

Report a problem

ui.Popups

A stack of popups in a HUD region with slots; the oldest goes when it is full.

Methods

popups:clear(player: types.Player)
#

removes all of the player's popups

popups:dismiss(player: types.Player, key: string)
#

removes the player's popup with this key

popups:show(player: types.Player, popup: ui.Popup)
#

adds a popup for a player