How to use masked_set_action?