for example i have a figure with a hat. when the figure jumps i want to rotate the hat and when it lands i want to rotate it back