How to simulate a chat screen

So I have the basics done (send/receive/store) . It’s just the small details like the list scrolling down automatically whenever you receive or send a msg (I know how to trigger it but don’t know how to make it scroll down to the latest msg) I hope you can help me.

Here’s a sample project you can modify:
https://groups.google.com/d/msg/mitappinventortest/WEat3QJXUX4/-r3mNVSIAwAJ

When a new message arrives, run a copy (Procedure) of the code in the Ball1.Dragged event
to force the Ball cursor to y = Canvas1.Height and realign the display to the end of the list.

Another example using a label!

https://sites.google.com/view/metricrat-ai2/guides/firebase-chat-label-html-content