Reply To: Custom Drawer Accessing Source Class

Forums 💬 FlowCanvas ⚙️ Support Custom Drawer Accessing Source Class Reply To: Custom Drawer Accessing Source Class

#12018
Gavalakis
Keymaster

    Hello there,

    Within an AttributeDrawer, you can access the source object with the ‘.context’ property. You can then use reflection to call a function by name or in this case get a field (AbilityList) by name. Here is an example of such a drawer:

    Let me know if that works for you.