Hi, i have button_up when button is not pressed. and button_down when button is pressed. So i want to make simple animation where (onClick) animation proccess is: button_up > button_down > button_up. Like any other simple button (in almost every application) have animation.
Iâm not sure I understand you correctly: Do you want to draw a button to the HUD and when you press a button change the texture of the button so that it appears to be pressed down?
If I got what you say in the questionâŚbutton_up and Down is a textureâŚwhen you click you want they to change de texture and when you release the mouse button the backk to normalâŚ
1)You need to create a hud blueprint
Create a button :With Texture (using a select node). The select will give you two options based on a bool or int or byte variable data; and a hitbox
Create a event when you click a hitboxâŚthe bool (or int or byte) will change the valueâŚso the select will draw another texture (The Button_down)
Another hitbox event called âreleaseâ and if the value of the bool was trueâŚcreate your actionsâŚ
If you download the ContentExamples pack from the Marketplace, and then open the level âBlueprint_HUDâ, the menu (accessed with âMâ) does just what you ask for. Looking into that might help you out too.
Thats what i was looking for. I know i saw it somewhere but buttons doesnt work in Blueprint_HUD. When i do the same thing in my project they do work.
Thank you