Logic adjustment

add target var for player layer