Random movement of one point

Hi!

Please tell me how I can get a random movement of point B like in this GIF?
Important: it shouldn’t be an animation. I am trying to do this with actions. And this stick is one object.
(I found 2 '15 topics, but sorry guys, I didn’t understand these solutions).

Thank you!

Armature_animtion0

Before trying random movement, i suggest to succeed a normal movement

Thanks for the advice, but I know how to make a normal movement.

I mean how I can do it without conditions and triggers. I need some movement loop. Repetitive random movement throughout the scene. The movement may not be random, it is possible to configure this “random” manually.

Sorry, probably I incorrectly formulated a thought in main post.