"Get Screen Space Position" returns the absolute desktop coordinates, if you put it through an "absolute to viewport" node it'll work windowed and full screen
@ItsMeBro3 жыл бұрын
Pinned. You smart my guy :)
@KaB__13 жыл бұрын
Thanks 🙏
@tunerhun4 жыл бұрын
thank you for the video. This issue in window mode you can fix that. in the "On Mouse Button Down" function get player controller and from the player controller get mouse position. This gives you the correct X and Y coordinates and it's no longer important your viewport size or it's full screen or not. Important if you do float - float like you in the video that can change the position where the widget is spawning based on the viewport size. I just use the float as it is. so it's always working for me. if you check bigger games they allow right click actions or just simple if you click in ue4 with right click the menu anchor spawn always on the mouse location. I think this is the reason why.
@tunerhun4 жыл бұрын
@@PlanetSprite np
@youngjojo3052 Жыл бұрын
Bro, You are a life saver dude, Thanks a lot for this
@tunerhun Жыл бұрын
@@youngjojo3052 you're welcome
@jhonaspardini34583 жыл бұрын
to create a menu tutorial like resident evil 2 ps1?
@КотКотофей-я9ы2 жыл бұрын
nice tutor, bro!
@CrypticaProductions4 жыл бұрын
Looks awesome but you're going so fast lol
@scottlee384 жыл бұрын
More magic! Actually forgot the ease of access presented with right click functionality!
@mizerama12 жыл бұрын
This is pretty much a waste of time because it does not explain how to get the mouse click event, which is the only difficulty in creating a right click menu with button widgets since they do not create mouse events "on click". Do not just reuse a function from some other video without explanation!
@stormstudios12 жыл бұрын
hes not "reusing a function" this video is part of a series of videos so obviously hes not gonna make a new function every time when theres a playlist of 50 videos that go together