title: using same method for multiple buttons for mouse pressed and touch pressed events
body: <p>I am using scenebuilder to make the UI. I want to make the color of the buttons change when mouse is pressed or when the button is touched. Can I set the same method for both mouse pressed and screen touched events and also set the same events for multiple buttons? Like there are 3 buttons and I want to change their color in mouse pressed and screen touched events and use only one method for all.
  Thank you</p>