documentation indexreference manualfunction index

ui.remove

Function: ui.remove (d):

This removes the displayable d from the current layer. This can only remove things from the layer directly, not from a displayable.

Example

# This does nothing.
$ t = ui.text("Hello, World")
$ ui.remove(t)



documentation indexreference manualfunction index