Sorry, too little context. This is from the tutorial:
A dialog listing all instance variables for the object appears. Click the 'add' icon to add a new one. Set the name to action, the type to text, and the initial value to right (for moving right).
'action' should not be an int, it should be text.