Function handleTouchPriority

#include <Geode/utils/cocos.hpp>voidhandleTouchPriority(,
boolforce
)

A utility function that recursively sets the touch priorities of a node and its children.

Not very recommended for use but there are cases it can quickly fix some touch handler related problems.

Parameters

node

The parent node to set touch priority to

force

Whether it should force set without smaller-than checks
Examples0