Control over window layering

Description

If a window is positioned over or under another, the most recent one created remains on top.
Is there a way of bringing to the top a window that is clicked.
Further to this, is there a way of controlling an objects layering,
What I mean here is, Bring to front, Stay on top, Send to bottom etc.

What MCU/Processor/Board and compiler are you using?

Simulator, but general question applicable to any.

What do you want to achieve?

As per description

What have you tried so far?

Searched doc, but can’t find relivant info.

https://docs.littlevgl.com/en/html/object-types/obj.html#layers

You can bring an object to the foreground or send it to the background with lv_obj_move_foreground(obj) and lv_obj_move_background(obj) .

An other option is to use lv_obj_set_top(win, true)