I hope I don't touch another obj when I use the gesture

Description

I used the function lv_indev_get_gesture_dir(lv_indev_get_act()). I want to avoid touching buttons when I’m using gestures. Can you give me some advice on how to deal with this problem? Thank you.

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

RT500

What LVGL version are you using?

V7.8

What do you want to achieve?

Don’t touch another obj when using the gesture

What have you tried so far?

Code to reproduce

Screenshot and/or video

I know how to avoid this problem。

lv_obj_set_click(lv_scr_act(), true);
lv_obj_add_protect(lv_scr_act(), LV_PROTECT_PRESS_LOST);
1 Like

Have you find out a way to solve this issue? i have same issue as you