I use some code that aims to transition from one scene to another. However, when I click on an actor I've set as a button with left mouse click, I get an #1009 error
Here is the code blocks I used for this behavior.
I don't know if the images for the code shows up (My first time posting on the forum actually). It didn't show up on the preview for me.
Quote
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at MethodInfo-6468()[Source/scripts/SceneEvents_0.hx:95]
at com.stencyl.models::Region/innerUpdate()[C:/Users/Music only/Desktop/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/models/Region.hx:387]
at com.stencyl::Engine/update()[C:/Users/Music only/Desktop/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2433]
at com.stencyl::Engine/postUpdate()[C:/Users/Music only/Desktop/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2618]
at com.stencyl::Engine/onUpdate()[C:/Users/Music only/Desktop/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2611]
Here is the code blocks I used for this behavior.
I don't know if the images for the code shows up (My first time posting on the forum actually). It didn't show up on the preview for me.