Move object with another when touching/raycast hit?

Hello again,
I am recreating Frogger in blender and can’t figure out how to make the frog move with the log when he gets on it, I have a tried to make a script but it didn’t work (Don’t know why( in the blend)). If you can help here is my blend file:

Thanks in advance!

check de file

two scripts, properties in log move log, move frog,

Log move Frog.

Set property y to something like .1



Frogit.blend (445 KB)

v2 - Jump + move left right 4 ward


Frogit (2).blend (473 KB)

Thanks, a bunch!