# PushPopInit

Initialization of [Push Pop Arrays](https://rmjjjt.gitbook.io/rubik-s-futuro-cube-sdk-open-beta-v1-4/summary/push-pop-arrays)

Syntax: `PushPopInit(arr[],ppindex=0,size=sizeof arr)`

* `arr` array that will be used as Push Pop Array
* `ppindex` index of available PPArray arbiter <0...3>
* `size` size of array to be stored into arbiter as initial size

Notes: Before any usage of Push, Pop, PushCanvas or PopCanvas, the array must be initialized.

Example:

* `PushPopInit(arr)`, initialized arbiter with index 0 with array arr
* `PushPopInit(temp,1)`, initialized arbiter with index 1 with array temp

See also: [Push](https://rmjjjt.gitbook.io/rubik-s-futuro-cube-sdk-open-beta-v1-4/summary/api-native-functions/misc/push), [Pop](https://rmjjjt.gitbook.io/rubik-s-futuro-cube-sdk-open-beta-v1-4/summary/api-native-functions/misc/pop)
