Forcing fake input when even when the player hasn't pressed anything?

Heya,

I've coded something that I can interrupt via Input.triggered?(key) - the thing is, this loop of mine that can be interrupted is inside another loop, each in a different class. I'd like to be able to write something like this:

if Input.triggered?(key)
return # Breaks my current loop
# SOMETHING ELSE-> "fake press" that same key on my other class, so it can also process it
end

Thing is, I can't do anything after the return, so I don't know how to approach this: I need to return from my first class' Input update loop, then also apply that same keypress on the loop previously going on. Any RGSS tips for this?
Why would you call a simple return if you still want to execute something before actually breaking the loop?
Code:
loop do # 1st loop
  # Calls the method and breaks the loop if :C is pressed -\
  return method_name(*args) if Input.trigger?(:C)  # <---/
  loop do # 2nd loop
    # Looping stuffs here... - 2nd loop
  end
  # Looping stuffs here too... - 1st loop
end
This is just one approach. Those loop do lines can be any loop methods as well, obviously (such as each do, until condition, and so on)
Just replace the method_name(*args) with whatever you want to call there.
If you want to call a method on another class, just call the method on that class: @object.method_name(*args).
It really depends on your code flow and structure, so this is the best I could do with the limited information you provided.

To clarify something...
You don't need any "forced key press" stuff for this.
Just call the method you want when the key is pressed before actually using the return call (or do it with one line, how I did in my example).

Original thread: https://forums.rpgmakerweb.com/threads/forcing-fake-input-when-even-when-the-player-hasnt-pressed-anything.85070/