# Question about constructor function

**URL:** <https://forums.unrealengine.com/t/question-about-constructor-function/1761501>\
**Category:** Verse\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, question, fortnite\
**Created:** [March 19, 2024, 3:20am UTC](https://forums.unrealengine.com/t/question-about-constructor-function/1761501 "2024-03-19T03:20:45Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![ok\_studios](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ok\_studios](https://forums.unrealengine.com/u/ok_studios)\
**Post date:** [March 20, 2024, 3:14am UTC](https://forums.unrealengine.com/t/question-about-constructor-function/1761501/4 "2024-03-20T03:14:25Z")

</div>

Does this post help you?

> [@What's the point of Verse constructors?](https://forums.unrealengine.com/t/whats-the-point-of-verse-constructors/1384647):
>
> Design of Verse constructors is a bit weird. Coming from C# if they would be similar we could use them as: MyClass := my\_class(DataForConstructor:my\_data): MyClassVar := OtherVar This makes them very easy to use and discover. After typing my\_class( we get a suggestion list of all possible constructors. Additionally it’s possible to make default constructor private and inaccessible, forcing us to use custom constructor. Verse constructors seem to not differ much from functions? Other then …

In it, the UltimateLambda concludes with this:  
“If you don’t intend to use a constructor function with other constructor functions, you may be better served with a plain function.”

P.S. I did remove the constructors from the Persistent tutorial example, and it worked with just plain functions as you showed, as long as the return type was manually specified.

---

_[View the full topic](https://forums.unrealengine.com/t/question-about-constructor-function/1761501)._
