I made a widget blueprint for a custom cursor (an image). I create it on Begin Play and toggle its visibility when RMB is pressed/released. The problem is, it flashes for a frame in the top left corner then disappears. I’ve tried Add to Viewport, setting visibility, and using Render Translation, but I’m still getting this flicker/flash issue.
Hey again nande, I ended up getting that cameralock system I wanted working and found a way to ignore the mouse inputs. Thanks again
This is the last thing I have to add onto that system and it was going smoothly until this. So I tried what you suggested, I removed the remove from parent node so im not just adding it and removing it and I switch to the set visibility hidden right after adding it to viewport on event beginplay and Setting it visible-Hidden when pressing-releasing rmb, I also got the image cursor variable and connected it to the visibility nodes
But its still not working, now it just doesnt show up at all, Maybe I did something wrong im not sure. Got any idea why it might not be working?
i highly recommend not to “share” connections across multiple execution paths (the white lines). makes the code hard to maintain and could have weird side-effects. specially with “pure “ nodes.
notice you have connected the setvisibility on the input event to the result of CreateWidget.
connect it instead to the variable you set right after that node.
i would suggest not to drag a line from the same “set” node, but instead drop a new node for that variable
also i can’t really read the text since it’s too small. but the connections seems pretty ok.