Custom button class

Hello everyone,
for some reason I cannot find why this is not working for me :slight_smile:

I’ve created custom class for button that draws the button and have event listeners for mouse over, mouse out, mouse down, and mouse up. Then I will take new Instance of this button class and use it somewhere else in the program and assign this instance event listener of mouse.CLICK and this one is not working at all :frowning: dunno whats wrong with it. Could u help?