this.instanceManager.instanceCount - used to determine total number of repeatable instances/rowsthis.instanceIndex - used to fetch current row index#(typically starts from 0,1,2..) if(this.instanceManager.instanceCount === this.instanceIndex+1){//add specific script for the last instance/row}