Accessing the position of the editor viewport camera

I tested this on version 4.27
Utility Blueprints are blueprints for creating tools for the editor, they are available by default. They changed in versions 5.0+, I checked, the screenshot shows the working version for 5.4.
You can get the camera coordinates in the editor if you create an Editor Utility Widget, and run it in the editor.
This should work for the Editor Utility Blueprint too, but for custom events called from other Utility Blueprints.

2 Likes