Reply To: Callbacks for UI Toolkit

FlowCanvas Forums Support Callbacks for UI Toolkit Reply To: Callbacks for UI Toolkit

#3333
Gavalakis
Keymaster

Hello there,

You will need to add the corresponding types to the Preferred Types Editor. For this case that means adding the visualElement class type you are using, as well as the MouseDownEvent class type. Once both are in the Preferred Types Editor, you should be able to see the visualElement type in the Reflected category and use its methods.

Please let me know if that works for you.

Thanks.

Join us on Discord: https://discord.gg/97q2Rjh