Hello! I have a simple widget.
The text appears smoothly, but disappears abruptly, I need to make a smooth disappearance of the text.
When I click on the left mouse button a widget appears, the next time it clicks, it disappears. I need to reverse the animation.
Hello, I can see from your video what you mean. I did some research and found this video that may help.
Good luck!
Before you remove from Patent, Play your Animation again with playMode Set to reverse
Thank you, but this is not quite right. I need for the LMB to lose the appearance animation when I click, and the next time it presses, it reverses. I assume I need to use “Cast to” with verification boolen(inspecting)?
Sorry i’am noob)
You mean Play Animation Reverse?
yes. the playanimation node has a “playmode” option. I’m not on the pc right now, but as far as i remmber you can switch from forward to reverse. it should give you the desired effect. maybe you need to delay the removeFromParent until your animation is finished playing
Thank You! All working now!