Deactivate Scroll globally

Hello there,

I’m working on the newest version of LVGL. I’m trying to deactivate scrolling globally. For me that means that no object what so ever is able to be scrolled. I know there is a way for objects individually (lv_obj_clear_flag (obj, LV_OBJ_FLAG_SCROLLABLE)), but is there maybe anoher way o achive my goal? I also tryed setting sm to LV_OBJ_FLAG_SCROLLABLE. That works fine, but I’d rather do that in my own code and not in the code from LVGL.
Thank you in advance.
See you around!