Listen when use scroll of the mouse in your component
void onMouseScroll(int pointer, Vector2 position, Vector2 scrollDelta) {}