click the green flag to start. left and right to move. z to jump. down & z to spindash. as sonic hold z in the air to do the dropdash & press up & press space to do the peelout. press z in the air as tails to fly, as knuckles he will glide, eggman's jet pack. press the space key as amy on ground to not take damage for some sec, in air she will get a boost of air and fall slowly. press the number keys for all players and that is it :/ and yes i know tails' tails are gone in some frames so please don't comment about that. oh yeah, to change characters (sorry that I didn't put this before) you just use the number keys.
EDIT: how did this get into popular when you type "Sonic Engine"? idk, but thanks! credit to Sega, Munchergamesjr and silverthehedgehog56. and give credit to me (sonicfan2025). please give me things to add.