My quick thought on this (I did not check if it works
At the begin play event put all your buttons in an array and when you want to check if the player is hovering use a for each loop, cast to a button on use “is hovering”.