prioritize

@ApiStatus.Experimental
fun <S : Component> S.prioritize(): S

Prioritize this component, meaning it will, in relation to its siblings:

  • be drawn last (so visually on top)

  • receive events first

this method is experimental as it may interfere with statically-typed references to children.

Since

1.0.0

See also