TBH, there are many ways to do it. For me, doing it dynamically will be easier and cleaner. It’s just the way I did it and the logic just gets executed once upon hovering, so not much of a tick to be used. You can minimize the use of referencing/variable as well if you are using dynamically.
You can work on static too or hardcoded, as long as it works.