How do i make a double jump on the 2d platform

I am making a game demo for fun and in trying to figure out how to make a double jump but all the tutorials i find are 3d

Is it not the same? I think it’s just a setting in the character…

I also saw this:

https://answers.unrealengine.com/questions/430547/how-to-make-a-double-jump-function-for-a-2d-platfo.html

I would start buy making an infinite jump. Each time you jump ad a +1 to a variable. then check that variable and if it is >1 or 2 then branch it to not activate the jump. then reset the number when you land.