Terraria item ID 968. Terraria 1.4.5.7.
The Marshmallow on a Stick is an item that is used to create a Cooked Marshmallow by holding it over any lit Campfire, i.e. the Marshmallow must overlap with the 2ร3-tile rectangle of the Campfire. It must be held for up to 15 seconds. The Marshmallow on a Stick must be held by the player, either by attaching it to the cursor in the inventory or selecting it in the hotbar, for the entire duration over the Campfire in order for it to be cooked. Selecting a different item in the hotbar, moving/turning away from the Campfire, or turning the Campfire off resets the timer.
Crafted at By Hand. Ingredients:
Description from the Terraria Wiki.