{"id":17068,"date":"2024-11-08T00:53:53","date_gmt":"2024-11-08T05:53:53","guid":{"rendered":"https:\/\/www.sceneri.com\/?post_type=sceneri-pro-docs&p=17068"},"modified":"2024-11-08T05:49:00","modified_gmt":"2024-11-08T10:49:00","slug":"collectible-sensor","status":"publish","type":"sceneri-pro-docs","link":"https:\/\/www.sceneri.com\/sceneri-pro-docs\/components-interface\/gameplay\/collectible-sensor\/","title":{"rendered":"Collectible Sensor"},"content":{"rendered":"
The Collectible Sensor<\/strong> component detects when a player or object interacts with a collectible item in the game. Upon detection, it triggers events such as updating the player’s score, adding resources, or performing an animation or sound effect.<\/p>\n This component is commonly used for collecting items like coins, power-ups, or keys in platformers or adventure games. It provides feedback to the player when they collect an item, making it a crucial part of the game’s progression.<\/p>\nUsage<\/strong><\/h3>\n
Key Properties<\/strong><\/h3>\n
\n