Yes, user can pass an instance variable like a number/string in expression.
My plan is that user can assign an instance variable(index) in an action. And the (behavior)plugin will remember which variable need to be log. And then it doesn't need to call log action every tick.
The interface is like the condition in sprite: "Compare instance variable" to get an instance variable(index)