Hi There
I am struggling to use the “On Create” function correctly. I am hoping someone could please explain how I can use the “On Create” function to run every time I create a sprite of a certain kind (in this case a new type called “Trampoline”).
My son is following a tutorial whereby he is creating three trampolines that bounce back and forth. The idea is to create a “On Created” function every time a trampoline is made.
Here is the tutorial code:
I would expect that we would use the “On Create sprite of kind Trampoline” - however in the tutorial they have managed to use a “On create trampoline of kind Trampoline”?? I can’t seem to create that block - nor did it make sense to me.
Here is my son’s code:
Any help you can provide in explaining how to use the On Create block would be great. Thanks