Limit integer values in a blueprint structure to a range

Hi, say I have a structure created through blueprints and it holds a bunch of integers, but I only want the values to be able to be set from 0 to 50, how would I do that? Or at least throw some error if outside the range. Is it possible to do that from within the structure itself, or do I have to add extra validations where I would be setting it in my blueprint? I want to be able to in the structure itself.

There’s no code in the structure, you need to clamp them when you set them.

OK, thank you.

1 Like