Hey, you could set up a simple boolean inside your player character blueprint and do the sprinting logic based on the value of that boolean like so
Then make a reusable triggerbox blueprint that disables the CanSprint boolean when inside and re-enables it when out of it