Limit input with get_action