How do I make a collectible move at constant velocity?

Hi all

If you look at my game here: ‘https://replit.com/@jaimeggb/secure-real-time-multiplayer-game-3’ you’ll notice there is a character called ‘bouncer’

I want the bouncer to move at constant velocity, but I’m really struggling to get this to happen, specially due to the complexity brought by the game being a multiplayer one

I thought that adding setVelocity() at the end of this line would work but it does not work:
self.bouncer = self.add.image(bouncerLocation.x, bouncerLocation.y, 'bouncer').setDisplaySize(53, 70).setVelocity(150,150);

Do you know what lines to write and where in order to get the bouncer to move at constant velocity?

Thanks for your time

Jaime

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36

Challenge: Secure Real Time Multiplayer Game

Link to the challenge: