- button.SetPosition( 240, 400 );
- button.SetSize( 100, 100 );
- Stage::GetCurrent().Add( button );
+ button.SetProperty( Actor::Property::POSITION, Vector2( 240, 400 ));
+ button.SetProperty( Actor::Property::SIZE, Vector2( 100, 100 ) );
+ application.GetScene().Add( button );