# Source URL: https://dev.epicgames.com/documentation/en-us/fortnite/stacks-and-queues-in-verse
# Local doc: epic-docs/documentation/en-us/fortnite/stacks-and-queues-in-verse.md
# Section: Returns the element at the back of the queue.
# Creates and returns a queue from an initial array of elements InitialElements.
CreateQueue<public><constructor>(InitialElements:[]t where t:type) := queue(t):
Elements := InitialElements
Verse Library
verse
08 Returns The Element At The Back Of The Queue
Provides a constructor to initialize the queue class with a predefined array of starting elements.
extracted-snippets/documentation/en-us/fortnite/stacks-and-queues-in-verse/08-returns-the-element-at-the-back-of-the-queue.verse