📋 Metadata
- Author: Motiomancer
- Date: 2022-08-15 04:58:48
- Type:
answer - Reply to: post_04501
💬 Content
Try this in the command tab
bpy.ops.wm.tool_set_by_id(name='builtin.move') if C.workspace.tools.from_space_view3d_mode(C.mode).idname != 'builtin.move' else bpy.ops.transform.vert_slide('INVOKE_DEFAULT', True)
It calls the move tool, and if its in the move tool it calls the vert slide