How would you handle animating multiple GUI's

i want to know what is a good way to handle multiple GUI’s for animating on say like hovering, clicking, etc. i’m just curious to know what the set up would be like.

what i usually do is:

  1. i use a module script for setting up a tween function so i can use that function multiple times without repeating myself (DRY).
  2. i would have a local script in starterGui. i assume u only need 1 screenGui for all the buttons liek in the image below but i’m unaware of the setup.

Doesn’t really metter as since you will have to use closures regardless;
If it helps you then sure go ahead.

1 Like

You can make a singular script and use CollectionService to loop through all buttons and animating them.

1 Like

@Yarik_superpro @jackmraow

thanks a million for your help guys! i just wanted to see how developers set up their workflow really. i appreciate the feedback. :slight_smile:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.