---
title: "Discussion on \"Pickups\" | Hashnode"
description: "Discussion on \"Pickups\". You can simply create a floating animation using the code bellow and then add a Collision Event to pickup the object actually.\ny = ystart + sin((get_timer()/500000)*5);\n\nIn the collision it can be like this:\nwith(instance_create_layer(other.x, other...."
url: "https://hashnode.com/posts/pickups/68a2bbeee79c08a852c7416e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Pickups](https://shiman.hashnode.dev/pickups?utm_source=hashnode&utm_medium=feed)

You can simply create a floating animation using the code bellow and then add a Collision Event to pickup the object actually. y = ystart + sin((get\_timer()/500000)\*5); In the collision it can be like this: with(instance\_create\_layer(other.x, other....

Aug 18, 2025 · 1 min read · shiman.hashnode.dev  
Read the article

## Written by

[zeinab mahdizadeh](https://hashnode.com/@ShimanWZ)

@ShimanWZ

  
[View profile](https://hashnode.com/@ShimanWZ)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
