yes but it doesn't contain a definition for x, so you cannot use it. You are trying to move it like an entity, and entities are a type of struct that have x, y,z ,etc properties defined.
for what you are doing you wont need to build a new struct, just use an entity.