I was trying to emulate. the picking of object that were created on the same tick. like what happens when using "Spawn another object"
on the SdkType for the Sprite, there are 2 functions BeforeRunAction(method), and AfterRunAction(method) which are essential to keep track of the instances.
These function on the sdkTypes are called automatically by the framework for certain ActionTypes
CallBeforeAfterHooks() {
return this._actionType === 3
}
Is there a way from the addon sdk to control, what type of action this is? or to trigger the hooks? I have been trying to reverse engineer this for a few hours, thought it might be better to ask?
I know actionType === 1 is for User Scripts, but that is as far as i have gotten