Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Matty101 |
as seen here at 0:05
i have an image for a background that i change the region rect to follow the mouse and give the impression i’m actually moving the image around.
I want to be able to add to the image by “dropping” another texture on to it.
I’ve tried directly changing the sprite texture using something like
$sprite.draw_texture(new_texture,x_y_pos)
but it didn’t seem to work.
Then someone suggested the texture functions like draw()
which results as below
It changes the image but it’s completely blank, if i assign the texture to the whole sprite however it works fine
so i’m guessing the issue is in here somewhere:
temptex.draw(BaseMenu_node.spell_select_img,texture_position)