These pane bindings are available to scripted interface panes and include functions not specifically related to widgets within the pane.


EntityId pane.sourceEntity()

Returns the entity id of the pane's source entity.


void pane.dismiss()

Closes the pane.


void pane.playSound(String sound, [int loops], [float volume])

Plays the specified sound asset, optionally looping the specified number of times or at the specified volume.