How can I temporarily slow down an object?

Basically, in my game I have a sail-boat which always moves forward. I want it so that when I click, the sail-boat slows down a bit until I release that mouse-click (and it will then travel at its normal speed).

Sounds like an easy task, but I’m having quite a bit of trouble doing so. Does anyway know a way of doing this?

Thanks in advance :slight_smile:

Use a motor for your boat, and when you click have a velocity go to 1 or something

Thanks for replying! I’ve tried using velocity and it hasn’t worked too well, I’m not quite sure what I’m doing wrong but it doesn’t seem to slow down the boat as fast as I’d like it to. Could you possibly provide an example? (Don’t worry if this isn’t possible)

Thanks again in advance :slight_smile:

Please, post a link with your game and let us see it.
I made a behaviour that works :slight_smile:
You can see it at:
http://flowlab.io/game/view/260168

The behaviour is in the boat object.

Ah thank you very much! This is exactly what I was looking for :slight_smile:

COOL!! I’m glad to be able to help you.