I wanted the frogs to look at you if you're within a certain distance and within its field of view. I also didn’t want to clone all the circuits for every frog, so I created a main circuit that the frogs communicate with when you enter their trigger zone. When leaving the trigger zone, the frog still needs to look back at its original look position, so the main circuit also ensures the frog does that before removing it from the UpdateFrog list. For every frog, I also gave the option to change the FOV, look speed, and look back speed.
I wanted to use Rec Room’s Dialog system but quickly realized that it was very annoying to create an in-depth dialog for every frog because I had to rewire the code every time. So, I decided to fix that by making a struct for the dialog that was easy to edit.
I tried to make the struct easy to read in code editors, where you can see what the frog says and the button options available.