camerakid
Member
Hey Guys,
I have run into a strange behavior and not really understanding it.
GLOBAL LEFT PRESSED EVENT
GLOBAL RIGHT PRESSED EVENT
RESULT: Nothing happens but a warning message saying: "layer_destroy() - layer not found in current room"
Any idea why it is not finding the newly created layer?
Thanks.
Attila
I have run into a strange behavior and not really understanding it.
GLOBAL LEFT PRESSED EVENT
Code:
global.asset_layer = layer_create(10);
Code:
var destroy=layer_get_depth(global.asset_layer);
layer_destroy(destroy);
Any idea why it is not finding the newly created layer?
Thanks.
Attila