Hi everyone, I’m really new to the UE. Am just curious… Is there some BP action/function that returns location of (any) component on screen (local, world, any). Seems pretty basic. One could write C++ code ofc for that, but that’s another universe. Thanks.
1 Like
Yes. Drag a pin from the component reference and search for ‘get world location’.
( or relative etc ).
1 Like
Yeah, that works, but… I guess my question is not well thought of, because not all, lets call them ‘objects’ on screen inherit from component, so, for instance, I can’t get position of ‘object’ of class, lets say (User)Widget… Or can I?
There’s obvious function ‘SetPositionInViewport’… ‘GetPositionInViewport’ would be kinda lifesaver
1 Like
I think with widgets, it’s much easier to just keep a record of where you have put them
2 Likes
Hehe… Yes, that would be best Thank You.
1 Like
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.