adding sensor in editor