[RGSS3] How is the right script to determine the time?

Hi Everyone, i want to ask something about Time Script...

Code:
 if Input.press?(A)
    self.bitmap.blt(width, height, "cat graphic", rect, opacity)
     if Time.now > 10
self.bitmap.clear
end
  end

i want, if player input press A, "cat graphic" shown and when it runs 10 seconds the "cat graphic" bitmap.clear..

iam confused when i try create for determine time..
look:
if Time.now > 10

how is the right script to determine the time?

sorry for bad eng,..

thankyou very much....
Time script? is this an actual script by an author or one you made?
Post a link to the script.
Time script? is this an actual script by an author or one you made?
Post a link to the script.
there is no script, I made this myself.
It short, do you want this "cat graphics" only shown for 10 seconds then gone?
It short, do you want this "cat graphics" only shown for 10 seconds then gone?
ya bang theo :v check PM FB...
ya bang theo :v check PM FB...
While you're here, keep it in English. Also, I prefer discord over FB.
While you're here, keep it in English. Also, I prefer discord over FB.
sorry, oh okay..

but you already understand what I mean, right?
Yes, but it's better if you post the whole script. Not just a snippet. So we can give you a more accurate answer.

Original thread: https://forums.rpgmakerweb.com/threads/rgss3-how-is-the-right-script-to-determine-the-time.119772/