Jumping on buttons?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Genesis689

So I have a rigid body and an area 3d node as a button and I want the button to sink into the ground and create a mesh on a gridmap cell when my player jumps on it. How do I go about doing this with an animationplayer node and a script?