Adding arrays to behavior properties

Instead of adding variables to an object and then retrieving it inside the behavior, why is there no property for directly adding arrays? I’m trying to make a combo behavior mechanism where users can just add an array of presses

image