Need help making a loop

I'm working on a game where an ImageSprite chases another ImageSprite that moves but I need it to constantly know the ImageSprites location, so I thought I'd need a loop for it not just to know it's location at start, but I think a loop could make it know constantly but I don't know how to make one. Added my code because I haven't found code for a loop that fits mine. I want it to loop call Nextbot .MoveTo and Call Nextbot . PointinDirection
Screenshot 2022-10-18 10.25.36 AM

Try a clock component and its Timer event

A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook App Inventor 2 Book: Create Your Own Android Apps ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.
There is a free programming course here Course In A Box and the aia files for the projects in the book are here: App Inventor 2 Book: Create Your Own Android Apps
How to do a lot of basic things with App Inventor are described here: How do you...? .

Also do the tutorials Tutorials for MIT App Inventor to learn the basics of App Inventor, then try something and follow the Top 5 Tips: How to learn App Inventor


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.