Skip to content

Commit 33a87b4

Browse files
committed
added transform to start.
1 parent de51062 commit 33a87b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/2d/move_sprite.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ fn setup(
2323
commands
2424
.spawn_bundle(SpriteBundle {
2525
material: materials.add(texture_handle.into()),
26+
transform: Transform::from_xyz(100., 0., 0.),
2627
..Default::default()
2728
})
2829
.insert(Direction::Up);

0 commit comments

Comments
 (0)