Stop moving while in prone

I don’t have any expirience with side scrollers, but you could use a boolean that is true when your character is prone and set it to false when it isn’t. Then in your movement input use a branch (if statement) to check wheter that boolean is true or false, if it is false excecute the rest of the movement code and if it is true don’t do anything.