P_ELEMENT undef

Trying to get the pointer of the UI sender element on a handler and I am getting P_ELEMENT undef. Where is that defined or do I have to define it.

It is defined inside a namespace of the event you are handling.

using namespace Pressed;
3 Likes

Thanks for the quick response