Hi Akvile,

> i am using timer now but...
I think it's better to use timer() method in this case.
But if you have to write your own method, use Thread.new().
A sample snippet is this:

  Shoes.app do
    def pause t
      Thread.new do
        sleep t
        yield
      end
    end

    light = oval 100, 100, 100
    pause(3){light.fill = red}
    pause(5){light.fill = blue}
  end

ashbb