Closed janssen-io closed 4 years ago
In Foundry (core), this is available inside script macros with a reference to the macro that is being executed. To enable this behaviour, we must bind the returned function to the macro (in this context this) before executing it with the context..
this
context
Awesome, thank you!
In Foundry (core),
this
is available inside script macros with a reference to the macro that is being executed. To enable this behaviour, we must bind the returned function to the macro (in this contextthis
) before executing it with thecontext
..