Set maximum jump height for platformer character

Screenshot 2024-10-11 at 9.44.48 PM
i want to make it so that when the jump key is pressed that the player would move up exactly 48 pixels.(the height of this wall right here.)

This extension may help, and there is a link (underlined in the screen snip) in the details to an online example of it: