Set pressed on button in UMG

Hi, i am wondering how to make button pressed in construction event in UMG? If i use “set is enabled” button grays out, but i just need button to look pressed (to use texture i made for pressed button). There is no “Set pressed” node, and i have no idea how to achieve this.

using engine 4.6.1.

Any ideas?

anyone else experiencing this?

When i set “set is enabled” to false, button have a gray overlay, but on ipad mini 3 button have black overlay. Any chance to evade that overlay? i have my own texture for disabled button

“Set is enabled” deals with the button being available or not for the users to click through it. It changes the state of the button to what you have in your Style > Disabled.

I don’t have experience building for iOS, but I assume that as long as you set your style to what it should be, tapping on the UMG widget should be the same as clicking on it.

So, just make sure that in your UMG widget, you are setting the Style for “Normal”, “Hovered”, “Pressed” and “Disabled”

All of thoose are set, but “disable” state never shows up my icon, button get gray/black overlay as i stated (:

Is it a regular UMG button?

Did you set the tint on the disabled to 0, 0, 0?

it is regual UMG button, i just tested tint with 0,0,0 and tested with both alpha to 1 and 0. Still having the same problem

The tint to 0, 0, 0 is supposed to darken the texture up completely. Can you post some screenshots of what happens?

Does this occur in the editor as well? Or just on the device?

I can’t post any screenshots, boss doesn’t allow. On iMac icon gets gray overlay, on ipad mini 3 its almost black/blackish overlay.

Sorry, based on the information you’ve provided I can’t tell what can be causing this issue, as I am not experiencing the same thing.

Try doing some tests with a new UMG widget, create a default button (don’t replace the default style) and see if it behaves as intended on the device.

If everything works fine, try skinning the button using the style you created and try it again.