Function handleTouchPriorityWith

#include <Geode/utils/cocos.hpp>voidhandleTouchPriorityWith(,
intpriority
,
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

priority

The priority value to set to

force

Whether it should force set without smaller-than checks
Examples0