How to create invisible object or disable obj refresh at set_pos()

is it possible create object that is not visible, or in other word I need some way to drag object but without redrawing its content?

Currently I tryed to use LV_OBJ_FLAG_HIDDEN but its not dragable anymore (it does not send event at LV_EVENT_PRESSING), using lv_obj_remove_style_all(obj) also does not help.

I just need some container that hold its pos and dimensions but without any graphic representation. Or create some area where LVGL will not draw anything

Any clue?

LVGL v8

Can you just make an object and set its background opacity to LV_OPA_TRANSP?

not sure because it require 32bit color while I work with 16bit color

I’m also using 16-bit colors and transparent works. You don’t need to enable LV_COLOR_SCREEN_TRANSP.