I need some help with coding

So I’m trying to make a boogie woogie from JJK in the code.you press space and then swap with a pot of flowers or something, is anybody willing to help me?

Hmm… Auto Animation tactics do exist.

  1. Take the two drawings, separate those into 2 frames!
  2. In the first frame, write this in it’s code:
// load.
stop();
// keypress
if (key === "space") {
 play();
}

Result is this:

Sorry if I sound like an idiot but do frames=layers, I’ve only explored the features slightly.

Nope, they are inside layers. But they can have code of their own! (btw, you may be the only anime fan here)

Oh, I misinterpreted frames. thank you for the assistance, I’m gonna go try this real quick! (also I realize i might be the only anime fan here but meh)

I put the code into frame 1 and i dont see anything happening, do you do something with frame 2 perhaps? I tried to make a swap but its not exactly the best

My Project2-23-2025_17-25-53.wick (202.2 KB)

uhh, you did separate them into 2 scripts?
image

i fixed it:


Wick File (202.3 KB)

thank you so much, this is a huge help in what i have planned!