Check this out, you will need more branches if you want to prevent spamming the interface messages 120 times per second:
And if you follow the link in that post, there’s a more elaborate example that actually uses an interface. The logic stays pretty much the same, though.