How to create a node setup where collecting an item allows jumping for a limited time

You are a genius. I love you.