title: custom animation in ursina engine
body: <p>I am trying to play my own animation in the ursina engine but I have no idea how to. According to the documentation, I would need this code:</p>
  <pre><code>    from ursina import *
  
      app = Ursina()
      window.color = color._20
  
      animation = Animation('ursina_wink', fps=2, scale=1, filtering=None, autoplay=True)
      EditorCamera()
      app.run()
  </code></pre>
  <p>And that one does indeed work. However, I do not understand how I can replace the default animation with my own frames ('ursina_wink' is inbuilt).</p>
  <p>The documentation says there is a frame parameter, so here is what I tried so far:</p>
  <pre><code>    from ursina import *
      
      app = Ursina()
      window.color = color._20
      coin1 = load_texture('animation/coin1')
      coin2 = load_texture('animation/coin2')
      coin3 = load_texture('animation/coin3')
      coin4 = load_texture('animation/coin4')
      coin5 = load_texture('animation/coin5')
      coin6 = load_texture('animation/coin6')
      
      animation = Animation('test',fps=2, scale=1, filtering=None, autoplay=True, frames = (coin1, coin2,coin3,coin4,coin5,coin6))
      EditorCamera()
      app.run()
  </code></pre>
  <p>But I cannot see anything on the screen and I cannot find an example online for it. Would really appreciate some help.</p>