This is a procedure to glide to a position, but in a smoother manner than the built-in block. The sprite begins to slow down as it nears its destination. Just copy the procedure and use it like a glide block. [Note] The time value is not in seconds. It may take some experimenting to find the right value.
This may be similar to other projects, but is is made using my ideas. There are many options for a procedure to do this; try to find the project that works best for your needs. If this is it, feel free to use it.