--- title: Stack.getPartNames() --- The `Stack.getPartNames()` method returns an Array containing the names of the parts in the stack. ## Stack.getPartNames() signature ```js String[] stack.getPartNames() ```