What's the c++ equivalent to "Can character step up on"

I’m talking about this checkbox

256829-capture.png

How can i toggle it using C++ code? I could tick them all manually but that seems rather inefficient.

Determine whether a Character can step up onto this component. This controls whether they can try to step up on it when they bump in to it, not whether they can walk on it after landing on it.

Character cannot step up onto this Component:

->CanCharacterStepUpOn = ECB_No;

Character can step up onto this Component:

->CanCharacterStepUpOn = ECB_Yes;

Owning actor determines whether character can step up onto this Component (default true unless overridden in code):

->CanCharacterStepUpOn = ECB_Owner;

2 Likes