Hi!
Thank you for your nice message. I'm happy to hear that you were inspired to make your own game.
I assume you are talking about this video - https://www.youtube.com/watch?v=0ZaAUEbuwlk&ab_channel=pixelqube
My goal was to recreate the UFO character from warioware get it together - https://www.youtube.com/watch?v=tbenpl2ijFc&ab_channel=UTAGaming&t=0h3m24s
Basically I would have the cow or any other object that could be picked up as a RigidBody2D node that i added to a group and the UFO would have a beam which was an Area2D node. The Area2D node has a signal that is called body_entered and I would check if the body is in the group. I would then apply a central impulse to the RigidBody2D.
I would also suggest using the godot documentation as it is very useful.
Rigidobdy2D - https://docs.godotengine.org/en/stable/classes/class_rigidbody2d.html
Area2D - https://docs.godotengine.org/en/stable/classes/class_area2d.html
I hope this helps!
-pixelqube