sanek2005_15

Untitled

Apr 6th, 2021 (edited)
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.20 KB | None | 0 0
  1. import bpy
  2. from bpy import ops
  3.  
  4. ops.anim.keyframe_insert(type="Location")
  5. bpy.context.scene.frame_current += 24
  6.  bpy.context.object.location = (10, 0, 0)
  7. ops.anim.keyframe_insert(type="Location")
Add Comment
Please, Sign In to add comment