As far as I know, “making a sub-event run while the main event is still running” is not possible in GDevelop.
A sub-event will only execute when:
The conditions of the parent event are true.
The actions of the parent event have been fully processed.
Since sub-events are executed after their parent event completes, they cannot run in parallel with it.
In your case, the sub-event won’t execute because the last boolean variable, canhop, is set to false, while your sub-event condition requires it to be true.
There is already an “Allow Jumping Again” action that achieves exactly what you’re asking for, a double jump, much like in many popular games. Additionally, there’s a counterpart action, which blocks the jump-again functionality. I believe these two actions could be really helpful for you and would save you both time and effort.
Sorry for not responding in timely manner but I have already solved this. I had to get creative and split the function. I am not using a platformer so this will not work the way you told me.