Custom set/get methods [C++]

Hi!
Is there possible to write your own custom logic for UPROPERTY() members of a class, e.g. in form of set and get methods. I would want to hide some implementation details for the artists team and simplifying placing actors in the level/world. The background is that I’m working on a RTS game with a grid based world and it would be nice if the actors could snap to that grid after being approximately placed in the editor or even better, only being possible to place according to the grid’s tiles.

You can’t do custom Gets, but you can do custom Sets with PostEditMove and PostEditChangeProperty. If you look at some examples in the editor you can see how they work, but basically they get called after you move an actor, or when you change the property on something. We’re using that on fortnite to snap our actors to a grid.

Looking at your later question it looks like you found PostEditMove, but I’ll answer this for future reference. Get offset in editor when moving actor in code - Programming & Scripting - Epic Developer Community Forums is a good example of how to use PostEditMove.