The constructor for a code class is usually called when first spawned but also when open in the editor (I believe so that things changed there are also displayed in the editor). Although I’m not actually sure from your explanation what you are trying to achieve?
You can use the Defereed method, or simply create a function called Initialise on your class, and after spawning the actor, use this function to set any variables right away?