Have buttons change 2 scrollboxes simultaneously.

Hi there,

I have it set up so that the arrows in my widget scroll the ImageScrollbox but I also want it to change the scrolltextbox below as the images will each have text of their own.

Any assistance is greatly appreciated!


Many options, the 2 most straightforward ones:

  • add those scrollboxes to an array and execute it in a loop or duplicate your script manually
  • or, if this needs to be grander in scope, let’s say there’s hundreds of these, it’d then be advisable to wrap the image and text into a single user widget. Do note that scroll box allows you to scroll to a widget, so you may not need to use hardcoded values. This way you wouldn’t also need 2 scroll boxes. The image & text would become a single widget.
2 Likes

Perfect! Thanks. quick and easy. Appreciate the second method too. Will look into it once I start adding more images