How to make sprite and tileSprite moving at the same speed?

Hello, I am new in Phaser.

I want to make a background which represent the ground moving and there should be a bunch of rocks above it which I made them as a sprite group.

I made the ground as a tileSprite, and on each update I changed the tilePositionX.
my problem is how to set the velocity of the rocks to match the update in the background so they appear to be on the ground and moving at the same speed of the ground.